home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
nullmodem
/
src
/
protos.h
< prev
Wrap
C/C++ Source or Header
|
1995-12-18
|
2KB
|
47 lines
/* device.c */
struct NullModem *CreateModem ( ULONG modemnum );
struct NullBase *DevOpen ( __D0 ULONG unitnum , __D1 ULONG flags , __A1 struct IOExtSer *iob );
APTR DevClose ( __A1 struct IOExtSer *iob );
APTR DevExpunge ( void );
ULONG DevReserved ( void );
void DevBeginIO ( __A1 struct IOExtSer *iob );
ULONG DevAbortIO ( __A1 struct IOExtSer *iob );
/* cmd.c */
struct IOExtSer *cmd_invalid ( struct IOExtSer *iob );
struct IOExtSer *cmd_reset ( struct IOExtSer *iob );
struct IOExtSer *cmd_read ( struct IOExtSer *iob );
struct IOExtSer *cmd_write ( struct IOExtSer *iob );
struct IOExtSer *cmd_update ( struct IOExtSer *iob );
struct IOExtSer *cmd_clear ( struct IOExtSer *iob );
struct IOExtSer *cmd_stop ( struct IOExtSer *iob );
struct IOExtSer *cmd_start ( struct IOExtSer *iob );
struct IOExtSer *cmd_flush ( struct IOExtSer *iob );
struct IOExtSer *sdcmd_query ( struct IOExtSer *iob );
struct IOExtSer *sdcmd_break ( struct IOExtSer *iob );
struct IOExtSer *sdcmd_setparams ( struct IOExtSer *iob );
struct IOExtSer *asdg_dtrcontrol ( struct IOExtSer *iob );
/* modem.c */
void modem_task ( void );
int put_char ( struct NullUnit *unit , char c );
void put_str ( struct NullUnit *unit , char *ptr );
void put_msg ( struct NullUnit *unit , int num );
void do_command ( struct NullUnit *unit );
void copy_data ( struct NullUnit *unit , struct NullUnit *other );
void do_connect ( struct NullUnit *u0 , struct NullUnit *u1 );
void do_timer ( struct NullUnit *unit , struct NullUnit *other );
char *varname ( UWORD unitnum );
int S_Restore ( struct NullUnit *unit , int load );
int S_Save ( struct NullUnit *unit );
/* debug.c */
void dputchar ( __d0 ULONG c );
void dprintf ( struct NullUnit *unit , int level , char *fmt , ...);
/* init.c */
long start ( void );
struct NullBase *DevInit ( __A0 APTR seg );
void NewList ( struct List *list );